<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{$title}</title>
	{literal}
	<style type="text/css">
	div{width:200px;height:200px;background:blue;}
	
	</style>
	{/literal}
</head>
<body>
	<!--this is a 注释 -->
	{*this is a smarty 注释*}

	<div></div>

	{$str|strip}<br>

	{$arr|default:iloveyou}<br>

	{$arr|truncate:15}<br>

	{$arr|substr:1:4}<br>

	{$arr|replace:like:much}<br>

	{$arr|upper|lower}



</body>
</html>